package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excels;

import java.io.Serializable;
import java.util.List;

/**
 * @author zhaonz
 * @version 1.0
 * @date 2023/6/13 11:00
 */
public class Analysis implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 年度 */
    @Excel(name = "年度")
    private String year;

    /** 预算 */
    @Excel(name = "预算")
    private String budget;

    @Excels({
            @Excel(name = "进度", targetAttr = "schedule"),
            @Excel(name = "test", targetAttr = "test")
    })
    private Source sources;

    public String getYear() {
        return year;
    }

    public Analysis setYear(String year) {
        this.year = year;
        return this;
    }

    public String getBudget() {
        return budget;
    }

    public Analysis setBudget(String budget) {
        this.budget = budget;
        return this;
    }

    public Source getSources() {
        return sources;
    }

    public Analysis setSources(Source sources) {
        this.sources = sources;
        return this;
    }

    public static class Source implements Serializable {

        private static final long serialVersionUID = 1L;

        @Excel(name = "进度")
        private String schedule;

        private String test;

        public String getSchedule() {
            return schedule;
        }

        public Source setSchedule(String schedule) {
            this.schedule = schedule;
            return this;
        }

        public String getTest() {
            return test;
        }

        public Source setTest(String test) {
            this.test = test;
            return this;
        }
    }
}
